﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.Master" AutoEventWireup="true" CodeBehind="contato.aspx.cs" Inherits="PousadaModelo.Net.MasterPage.WebForm6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<form id="form1" runat="server">
	<div id="content">
			<div class="wrapper">
            <div class="aside maxheight">
             	<!-- box begin -->
               <div class="box maxheight">
               	<div class="inner">
                  	<h3>Reservas:</h3>
                     	<fieldset>
                        	<div class="field">
                           	<label>Chegada:</label>
                              <select class="select1"><option>30</option></select><select class="select2"><option>Fevereiro 2011</option></select>
                           </div>
                           <div class="field">
                           	<label>Saída:</label>
                              <select class="select1"><option>01</option></select><select class="select2"><option>Março 2011</option></select>
                           </div>
                           <div class="field">
                           	Pessoas: &nbsp;<input type="text" value="1"/>&nbsp; &nbsp; Quartos:&nbsp; <input type="text" value="1"/>
                           </div>
                           <div class="button"><span><span><a href="#" onclick="document.getElementById('reservation-form').submit()">Checar Disponibilidade</a></span></span></div>
                        </fieldset>
                     </div>
               </div>
               <!-- box end -->
            </div>
            <div class="content">
            	<div class="indent">
               	<h2>NOX</h2>
                  <img class="img-indent png" alt="" src="images/5page-img1.png" />
                  <div class="extra-wrap">
                  <p class="alt-top">
                  Tah vendo ai  a imagenzinha neh pco. grandao. top de linha - varios boutiques, restau<asp:SqlDataSource 
                          ID="SqlDataSource1" runat="server" 
                          ConnectionString="<%$ ConnectionStrings:ControleHorasProjetoConnectionString1 %>" 
                          DeleteCommand="DELETE FROM [TB_Fase] WHERE [ID_Fase] = @ID_Fase" 
                          ProviderName="<%$ ConnectionStrings:ControleHorasProjetoConnectionString1.ProviderName %>" 
                          SelectCommand="SELECT [ID_Fase] FROM [TB_Fase]">
                          <DeleteParameters>
                              <asp:Parameter Name="ID_Fase" Type="Int32" />
                          </DeleteParameters>
                      </asp:SqlDataSource>
                      rantes
                      <asp:Button ID="btnTeste" runat="server" onclick="btnTeste_Click" 
                          Text="Button" />
                      e inferninhos pertos.</p>
                  <p>Favor, sint<asp:GridView ID="dgvTeste" runat="server" 
                          AutoGenerateColumns="False" BackColor="LightGoldenrodYellow" BorderColor="Tan" 
                          BorderWidth="1px" CellPadding="2" ForeColor="Black" GridLines="None">
                      <Columns>
                          <asp:BoundField DataField="nome" HeaderText="Nome" SortExpression="nome" />
                          <asp:TemplateField HeaderText="Ações">
                              <EditItemTemplate>
                                  <asp:TextBox ID="TextBox1" runat="server" Height="23px" Width="196px"></asp:TextBox>
                              </EditItemTemplate>
                              <FooterTemplate>
                                  <asp:TextBox ID="TextBox2" runat="server" Height="37px" Width="209px"></asp:TextBox>
                              </FooterTemplate>
                              <ItemTemplate>
                                  <asp:Button ID="Button1" runat="server" Height="37px" Text="Button" 
                                      Width="206px" />
                              </ItemTemplate>
                          </asp:TemplateField>
                      </Columns>
                      <FooterStyle BackColor="Tan" />
                      <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
                          HorizontalAlign="Center" />
                      <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                      <HeaderStyle BackColor="Tan" Font-Bold="True" />
                      <AlternatingRowStyle BackColor="PaleGoldenrod" />
                      </asp:GridView>
                      <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
                      a-se avontade para nus visitar jaeh:</p>
                  <dl class="contacts-list">
                     <dt>Rua dos ossu., 110</dt>
                     <dd>9999-9999</dd>
                     <dd>9999-6448</dd>
                  </dl>Rua dos ossu., 110</dt>
                     <dd>9999-9999</dd>
                                        <dd>
                                            <asp:Button ID="Button2" runat="server" onclick="Button2_Click" 
                                                PostBackUrl="~/PousadaModelo/admUsuario.aspx" Text="Button" />
                                        </dd>
                     <dd>9999-6448</dd>
                  </dl>
                      <p>
                          FUNCIONARIO GERADO AUTOMATICO                        AllowSorting="True" AutoGenerateColumns="False" 
                              BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" 
                              CellPadding="2" DataKeyNames="ID_Funcionario" DataSourceID="SqlDataSource2" 
                              EmptyDataText="There are no data records to display." ForeColor="Black" 
                              GridLines="None">
                              <Columns>
                                  <asp:CommandField DeleteText="Deletar" ShowDeleteButton="True" 
                                      ShowEditButton="True" ShowSelectButton="True" />
                                  <asp:BoundField DataField="ID_Funcionario" HeaderText="ID_Funcionario" 
                                      ReadOnly="True" SortExpression="ID_Funcionario" />
                                  <asp:BoundField DataField="Nome" HeaderText="Nome" SortExpression="Nome" />
                                  <asp:BoundField DataField="Cargo" HeaderText="Cargo" SortExpression="Cargo" />
                                  <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                                  <asp:BoundField DataField="Contato" HeaderText="Contato" 
                                      SortExpression="Contato" />
                                  <asp:BoundField DataField="Endereco" HeaderText="Endereco" 
                                      SortExpression="Endereco" />
                              </Columns>
                              <FooterStyle BackColor="Tan" />
                              <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
                                  HorizontalAlign="Center" />
                              <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                              <HeaderStyle BackColor="Tan" Font-Bold="True" />
                              <AlternatingRowStyle BackColor="PaleGoldenrod" />
                          </asp:GridView>
                          <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                              ConnectionString="<%$ ConnectionStrings:ControleHorasProjetoConnectionString1 %>" 
                              DeleteCommand="DELETE FROM [TB_Funcionario] WHERE [ID_Funcionario] = @ID_Funcionario" 
                              InsertCommand="INSERT INTO [TB_Funcionario] ([Nome], [Cargo], [Email], [Contato], [Endereco]) VALUES (@Nome, @Cargo, @Email, @Contato, @Endereco)" 
                              ProviderName="<%$ ConnectionStrings:ControleHorasProjetoConnectionString1.ProviderName %>" 
                              SelectCommand="SELECT [ID_Funcionario], [Nome], [Cargo], [Email], [Contato], [Endereco] FROM [TB_Funcionario]" 
                              UpdateCommand="UPDATE [TB_Funcionario] SET [Nome] = @Nome, [Cargo] = @Cargo, [Email] = @Email, [Contato] = @Contato, [Endereco] = @Endereco WHERE [ID_Funcionario] = @ID_Funcionario">
                              <DeleteParameters>
                                  <asp:Parameter Name="ID_Funcionario" Type="Int32" />
                              </DeleteParameters>
                              <InsertParameters>
                                  <asp:Parameter Name="Nome" Type="String" />
                                  <asp:Parameter Name="Cargo" Type="String" />
                                  <asp:Parameter Name="Email" Type="String" />
                                  <asp:Parameter Name="Contato" Type="String" />
                                  <asp:Parameter Name="Endereco" Type="String" />
                              </InsertParameters>
                              <UpdateParameters>
                                  <asp:Parameter Name="Nome" Type="String" />
                                  <asp:Parameter Name="Cargo" Type="String" />
                                  <asp:Parameter Name="Email" Type="String" />
                                  <asp:Parameter Name="Contato" Type="String" />
                                  <asp:Parameter Name="Endereco" Type="String" />
                                  <asp:Parameter Name="ID_Funcionario" Type="Int32" />
                              </UpdateParameters>
                          </asp:SqlDataSource>
                      </p>
                  </div>
                  <div class="clear"></div>
               </div>
            </div>
         </div>
		</div>
    </form>
</asp:Content>
